package com.xqt.inters.service.message;

import java.util.List;

import com.xqt.base.entity.BaseEntity;
import com.xqt.entity.message.MessageBase;
import com.xqt.inters.service.base.IBaseService;

public interface IMessageService extends IBaseService<MessageBase> {

	
	/**
	 * 列表查询
	 * @param page
	 * @return
	 * @throws Exception
	 */
	public List<MessageBase> queryList(BaseEntity entity);
	
	/**
	 * 添加或修改
	 * @param letter
	 */
	public void saveOrUpdate(MessageBase messageBase);
	
	/**
	 * 删除
	 * @param letter
	 * @throws IOException
	 */
	public void delete(MessageBase messageBase);
	
	/**
	 * 数据条数
	 * @param t
	 * @return
	 */
	public int queryCount(MessageBase messageBase);
	
}
